package com.dms.modules.product.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Map;

@Data
@ApiModel(value = "商品SKU视图对象", description = "用于展示商品SKU信息")
public class ProductSkuVO {

    @ApiModelProperty("SKU ID")
    private Long id;

    @ApiModelProperty("规格信息")
    private Map<String, String> specs;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("库存")
    private Integer stock;
} 